-define(Hp,1).%%飞剑洗练属性定义
-define(POWER,2).
-define(MELEEDEFENSE,3).
-define(RANGEDEFENSE,4).
-define(MAGICDEFENSE,5).
-define(HIRATE,6).%%命中
-define(DODGE,7).
-define(CRITICALRATE,8).
-define(CRITICALDAMAGE,9).
-define(TOUGHNESS,10).

%%飞剑升级
-record(wing_level,{level,item,money,power,defence,hpmax,mpmax}).
%%进阶
-record(wing_phase,{phase,item,money,speed,power,defense,hpmax,mpmax,maxintensity,failedbless,rate,addrate}).
-record(wing_quality,{quality,item,money,power,defense,hpmax,mpmax,skill}).
-record(wing_intensify_up,{intensify,item,money,maxperfectness,unlockskill,attrsate}).
-record(wing_skill,{skillid,level,item,money,effectinfo}).
-record(item_gold_price,{itemid,price}).
-record(wing_echant,{quality,item,money,maxnumber}).
-record(wing_echant_lock,{num,gold,item}).
%%获得飞剑
-record(wing_role,
		{roleid,
		 level,                  %%飞剑等级
		 social,                %%飞剑品阶
		quality,               %%飞剑品质
		streng,                %%强化
		streng_up,             %%强化上限
		perfect_value,         %%强化加成
		skills,                           %%飞剑技能
		echants,            %%洗练属性
		lucky                      %%进阶幸运值
		}).

-record(wing_game_info,
		{
		 level,   					%%等级
		socail,   				  %%品阶
		quality,    				 %%品质
		strength,  				   %%强化
		streng_up,  				 %%强化上限
		strength_add,     		%%强化加成<100+strength*10+perfect_value>
		perfect_value,          %%强化完美值
		skills,              			%%飞剑技能
		echants,            %%洗练属性
		lucky,                			%%飞剑进阶幸运值
		power,                          %%攻击
		magicdefense,                    %%魔防御
		rangedefense,                   %%远防
		meleedefense,                   %%近防
		hp,                           %%生命
		mp,                         %%法力
		speed                      %%附加任务身上的速度
		 }).
